import request from '../../axios/request.js';
let service = request.service;
let formatterUrl = request.formatterUrl;
export default{
    queryZqtysmb() {
      return service({
        url: '/adscm/application/zqtyTemplate/queryZqtyTemplate',
        /* 查询知情同意书模板 */
        method: 'get'
      })
    },
    queryZqtyByHid(hid) {
      return service({
        url: `/adscm/application/hTreatmentZqty/queryZqtyByHid/${hid}`,
        /* 查询知情同意书，根据问诊ID */
        method: 'get'
      })
    },
    queryHistory(providerId) {
      return service({
        url: `/adscm/application/hTreatmentZqty/queryHistory/${providerId}`,
        /* 查询知情同意书历史数据 */
        method: 'get'
      })
    },
    updateZqty(data){
      /**新增*/
      return service({
        url: `/adscm/application/hTreatmentZqty/updateZqty`,
        method: 'post',
        data
      })
    },
    /* /adscm/application/treatmentType */
    querytreatmentType(){
      return service({
        url: `/adscm/application/treatmentType/select`,
        method: 'get',
      })
    },

}
// 